package com.example.hxds.workflow.controller.form;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
/**
 * @Author XUYANG
 * @Date 2024-04-10 15:24
 */
@Data
public class HandleCommentAppealForm {
    @NotNull
    @Min(value = 1L)
    private Long commentId;

    @NotBlank
    @Pattern(regexp = "^同意$|^不同意$")
    private String result;
    private String note;

    @NotNull
    @Min(value = 1L)
    private Integer userId;
    @NotBlank
    private String instanceId;
}
